#include "memory.h"

void* kmemcpy (void* dest, const void* src, int count)
{
	const char* s = (const char*) src;
	char* d = (char*)dest;
	for(; count > 0; count--) *d++ = *s++;
	return dest;
}

void kmemfill(void* dest, int count, char value)
{
	char* d = (char *)dest;
	for(; count > 0; count--) *d++ = value;
}
